Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payment contexts and accounts updates #449

Conversation

armando-rodriguez-cko
Copy link
Contributor

Description

This PR enhances the Payment Contexts and Accounts modules to support more robust handling of payment and account-related data. It introduces new capabilities for processing accommodations in payment contexts and adds detailed verification options in the accounts module.

Changes Made

Enhancements in Payment Contexts:

  • Introduced support for accommodation-related data with new classes:
    • PaymentContextsAccommodationData: Captures information like booking reference, check-in and check-out dates, and accommodation address.
    • PaymentContextsAccommodationRoom: Defines room-specific details, such as rate and the number of nights at the room rate.
    • PaymentContextsGuests: Stores guest details including first name, last name, and date of birth.
  • Enhanced existing functionalities to better handle diverse payment scenarios.

Enhancements in Accounts:

  • Added new classes for document and financial verification:
    • AdditionalDocument, AdditionalInfo, BankVerification, ProofOfLegality, ProofOfPrincipalAddress, and their respective types.
  • Updated existing classes:
    • Company: Added attributes like financial details and regulatory license number.
    • Capabilities: Improved structure to better reflect account abilities.
  • Strengthened onboarding processes by supporting detailed verification for shareholder structure, articles of association, and tax compliance.

Improved Testing:

  • Added unit tests for all newly introduced classes and functionalities.
  • Updated existing tests to reflect changes in the data structure and ensure full compatibility.
  • Removed or disabled obsolete tests no longer relevant after these updates.

Impact

  • Enables handling of detailed accommodation data in payment contexts.
  • Enhances the robustness of account verification processes.
  • Improves the overall reliability and extensibility of the SDK.

Additional Notes

  • This change does not introduce breaking changes and maintains full backward compatibility with existing implementations.

@armando-rodriguez-cko armando-rodriguez-cko requested a review from a team November 21, 2024 13:47
@armando-rodriguez-cko armando-rodriguez-cko merged commit e111be3 into master Nov 21, 2024
4 checks passed
@armando-rodriguez-cko armando-rodriguez-cko deleted the feature/INT-1528-payment-contexts-and-accounts-updates branch November 21, 2024 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants